﻿  
@using Webdiyer.WebControls.Mvc
@{
    ViewBag.Title = "酒店评价消费统计";
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}
<script> 
</script> 
  
<!--导航栏-->
@{
//@Html.Partial("_Location")
}
<!--/导航栏--> 
<!--工具栏-->
<div class="toolbar-wrap">
    <div id="floatHead" class="toolbar">
        <div class="l-list">
            <ul class="icon-list">
               
            </ul>
        </div>
        <div class="r-list">
           @* @using (Html.BeginForm("HotHotelChart", "HotelChart", null, FormMethod.Get))
            {
                 
                <input id="beginTime"  name="beginTime" class="input Wdate" type="text" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'endTime\')||\'2020-10-01\'}'})" value="@Request.QueryString["beginTime"]" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/" errormsg="请选择正确的日期" sucmsg=" "/> 
                <input id="endTime" name="endTime" class=" input Wdate" type="text" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'beginTime\')}',maxDate:'2020-10-01'})"  value="@Request.QueryString["endTime"]" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/" errormsg="请选择正确的日期" sucmsg=" "/>
                
                 <input type="submit" value="查询" class="btn-search" accesskey="S" /> 
            }*@
        </div>
    </div>
</div>
<!--/工具栏-->  
<!--列表-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
    <tr>
       <th align="center">序号</th>
        <th align="left">酒店名称</th>
        <th align="left">评均消费（单位：元）</th> 
    </tr>
    @if (null != ViewData.Model)
    {
        var index = 0;
        foreach (var item in ViewData.Model)
        {
            index++;
        <tr>
            <td align="center">
               @Html.Raw(index) 
            </td>
            <td align="left">
             @Html.Raw(item["HotelName"]) 
            </td>
            <td align="left"> 
                @Html.Raw(string.Format("{0:c}",item[1]) ) 
            </td> 
        </tr>
        }
    }
</table>
<!--/列表--> 
<!--内容底部-->
<div class="line20">
</div>
 
 
 